package com.qifei.xmlg_backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qifei.xmlg_backend.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 员工表 Mapper 接口
 * </p>
 *
 * @author qifei
 * @since 2025-06-10
 */
public interface EmpMapper extends BaseMapper<Emp> {
    List<Emp> selectPageVo(IPage<Emp> page, String name, Short gender, LocalDate begin,LocalDate end);

    Integer selectCountByJobId(@Param("jobId") Integer jobId );
}
